<?php print '<?xml version="1.0" encoding="UTF-8"?>'?>
<kml xmlns="http://www.opengis.net/kml/2.2">
	<Document>
		<?php foreach ($this->rowset as $row):?>
		<Placemark>
			<name><?php print $row['name']?> - weterynarz w Krakowie</name>
			<visibility>1</visibility>
			<open>1</open>
			<atom:author>P.W. Promotor (weterynarze.krakow.pl)<atom:author>
			<atom:link><?php print $this->absoluteUrl(array('id' => $row['id']), 'catalogShow')?></atom:link>
			<address><?php print $this->escape($row['adress'])?></address>
			<description>
				<![CDATA[
					<img src="<?php print $this->baseUrl()?>/image/weterynarze/logo-small.png"/>
					<h3><?php print $row['name']?></h3>
					<dl>
						<dt>Adress:</dt>
						<dl><?php print $this->escape($row['adress'])?></dl>

						<dt>Telefon:</dt>
						<dl><a href="<?php print $this->absoluteUrl(array('id' => $row['id']), 'catalogShow')?>">pokarz numer telefonu</a></dl>
						
						<dt>Godziny pracy:</dt>
						<dl><a href="<?php print $this->absoluteUrl(array('id' => $row['id']), 'catalogShow')?>">pokarz gdziny pracy</a></dl>
						
						<dt>Usługi:</dt>
						<dl><a href="<?php print $this->absoluteUrl(array('id' => $row['id']), 'catalogShow')?>">pokarz usługi</a></dl>
						
						<dt>Personel:</dt>
						<dl><a href="<?php print $this->absoluteUrl(array('id' => $row['id']), 'catalogShow')?>">pokarz personel</a></dl>
					</dl>
				]]>
			</description>
			<Point>
				<coordinates><?php print $row['lng']?>,<?php print $row['lat']?></coordinates>
			</Point>
		</Placemark>
		<?php endforeach;?>
	</Document>
</kml>